package com.wang.learn.cloudorder.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author www.itdream.site
 * @description
 * @create 2021-03-24 17:14
 */

@RestController
public class OrderController {


    @GetMapping("/test/{str}")
    public String test(@PathVariable("str") String str){
        return "<h1>This is order test "+str+"</h1>";
    }
}
